package com.example.srm;


import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.example.srm.*.mapper")
@EnableTransactionManagement
@ServletComponentScan("com.example.srm")
@Slf4j
public class ScientificResearchManagementApplication {

    public static void main(String[] args) {
        log.info("开始启动项目...");
        SpringApplication.run(ScientificResearchManagementApplication.class, args);
        log.info("项目启动完成...");
    }

}
